import Vue from 'vue'
import {
  Button, Form, FormItem, Input, Message, Container, Aside, Header, Main,
  Menu, Submenu, MenuItem, MenuItemGroup, Breadcrumb, BreadcrumbItem, Card,
  Col, Row, Table, TableColumn, Switch, Tooltip, Pagination, Dialog, MessageBox, Tag,
  Tree, Option, Select, Cascader, Alert, TabPane, Tabs
} from 'element-ui'

Vue.use(Button).use(Cascader).use(Tabs).use(TabPane)
  .use(Form).use(Option).use(Select)
  .use(FormItem)
  .use(Input).use(Tag).use(Alert)
  .use(Container)
  .use(Aside).use(Tree)
  .use(Header).use(Main)
  .use(Menu).use(Submenu)
  .use(MenuItem).use(MenuItemGroup)
  .use(Breadcrumb).use(BreadcrumbItem).use(Card)
  .use(Col).use(Row).use(Table).use(TableColumn)
  .use(Switch).use(Tooltip).use(Pagination).use(Dialog)
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox